#include "stdafx.h"
#include "PeakDistance.h"

namespace MyGame {

PeakDistance::PeakDistance(void) {
}

PeakDistance::PeakDistance(UINT id, FLOAT distance) {
    this->Id = id;
    this->Distance = distance;
}

bool PeakDistance::Compare(PeakDistance p1, PeakDistance p2) {
    return p1.Distance < p2.Distance;
}

}
